<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@include file="/admin/include/includeAdminTaglibs.jsp" %>

<c:forEach items="${assessmentDataList}" var="assessmentData">
    <table class="table table-striped table-bordered">
        <caption>${assessmentData.dataName}</caption>
        <tbody>
        <c:forEach items="${sdk:getAssessmentItemModelByDataId(assessmentData.dataId,param.formId)}" var="assessmentItem" varStatus="s">
            <c:if test="${s.first}">
            <tr>
                <td>评估项目</td>
                <c:forEach items="${sdk:geAssessmentStandardValueModelByDataId(assessmentData.dataId)}" var="assessmentStandardValueModel">
                    <td>${assessmentStandardValueModel.standardName}</td>
                </c:forEach>
            </tr>
            </c:if>
            <tr>
                <td>${assessmentItem.itemName}</td>
                <c:forEach items="${sdk:geAssessmentStandardValueModelByDataId(assessmentData.dataId)}" var="assessmentStandardValueModel">
                    <td><input type="radio" formName="${evaluationFormModel.formName}" dataId="${assessmentData.dataId}" name="${assessmentItem.itemId}" value="${assessmentStandardValueModel.standardValueId}" class="assessmentStandardValue" formId="${param.formId}"/></td>
                </c:forEach>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</c:forEach>

</table>